package cn.test.controller;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * @auther hanchao
 * @date 2017/2/15 18:18
 */
@XmlRootElement(name = "xml")
public class TBean {
    private String a;
    private String b;

    public String getA() {
        return a;
    }

    public TBean setA(String a) {
        this.a = a;
        return this;
    }

    public String getB() {
        return b;
    }

    public TBean setB(String b) {
        this.b = b;
        return this;
    }

    @Override
    public String toString() {
        return "TBean{" +
                "a='" + a + '\'' +
                ", b='" + b + '\'' +
                '}';
    }
}
